FluentForm\App\Modules\Payments\PaymentHelper C

Total Complexity 120
Dependencies 5
Dependents 21
Total lines 1,130
Lines of code 937
Logical lines of code 294
Comment lines 32
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
getPaymentSummaryText()
B
35 17 84
getCustomerName()
A
46 11 39
getCurrencySymbols()
A
27
1 175
getFormSettings()
A
42 8 54
getCurrencies()
A
28
1 150
decryptKey()
A
53 9 20
formatMoney()
A
50 8 26
encryptKey()
A
55 8 18
getCustomerEmail()
S
52 7 25
log()
S
51 6 26
getFormPaymentMethods()
S
59 4 14
limitLength()
S
60 4 13
getCurrencySymbol()
S
56 3 19
recordSubscriptionCancelled()
S
45 1 49
maybeFireSubmissionActionHok()
S
58 3 15
getCurrencyConfig()
S
60 3 13
formatPaymentItemString()
S
62 3 11
getPaymentSettings()
S
54 2 23
getStripeInlineConfig()
S
56 2 18
getCustomerPhoneNumber()
S
63 3 10
zeroDecimalCurrencies()
S
50 1 29
loadView()
S
55 1 21
getPaymentStatuses()
S
55 1 21
convertToCents()
S
68 2 7
getCustomerAddress()
S
66 2 8
getFormInput()
S
64 2 9
floatToString()
S
65 2 9
isZeroDecimal()
S
72 1 5
updatePaymentSettings()
S
70 1 6
getBillingIntervals()
S
67 1 8
getSubscriptionStatuses()
S
67 1 8
getFormCurrency()
S
74 1 4